Questions tagged as 'angular'

1
answer

Include components in different parts of the page

Suppose I have the following structure: <table> <tbody> </tbody> </table> <form> </form> The pages that inherit this template will define which rows and columns my tables will ha...
asked by 11.10.2017 / 14:43
1
answer

Data typing

Alright? Putting into practice what I learned in angular / ionic, I came across some doubts: 1- I made an ion-select with list of states coming from the firebase. When I typed the States model, I'm in doubt if in the model I do export i...
asked by 21.09.2017 / 14:51
1
answer

Redirect a route from one childModule to another childModule with Angular 2 (^ 4.0)

Hello, I'm working with Angular where I have a structure like this: |-app |-fooModule (fooPage1, fooPage2) |-barModule (barPage1, barPage2) These two modules are being loaded using lazyLoad in the route file as follows: a...
asked by 28.09.2017 / 14:13
2
answers

URL exchange but view maintains - routing with angular 4

Good afternoon guys, I'm creating a page in the angle where it will have a button that will pass as one parameter ID and receive this ID on the other page. I'm using the Angle Router but I can not. I made the URL change, but the view still re...
asked by 24.09.2017 / 18:26
2
answers

Angular 4 App in Apache

I would like an example of htaccess to use in my Apache. The scenario is as follows: I have an application in Angular 4 that needs to run on a separate back-end server. I build using the ng build command (for some internal problems I do no...
asked by 13.09.2017 / 21:39
1
answer

Appear list only when searchbar is filled - Ionic 3

Hello, I'm using this searchbar code and it's working. But I want the list of items to appear ONLY when I have something written on the searchbar. Basically I DO NOT want a "list of all items" to appear, only the items filtered when typing in th...
asked by 21.11.2017 / 05:05
1
answer

Beginner in angular Problems with observable

I'm new to the angular development world and I'm having a simple problem but I can not solve it. I started the project using angular cli 1.5.2, where angular using 5.0.0 I'm trying to do a simple api query with path in link , using postma...
asked by 21.11.2017 / 00:48
2
answers

How to correctly configure angular paths 4 with lazy loading

My link to list the client does not work, I wanted to know the WHY WHAT WOULD I HAVE TO DO TO CALL THE ROUTE / list clients and not customers / clients list 1 - ClientRoutingModule 2 - AppRoutingModule 3- routerlink import { LoginGua...
asked by 30.08.2017 / 04:56
1
answer

Angular 2 has the possibility to make a string be interpreted as html?

I have a variable called "link_youtube", which contains a data similar to this: <iframe width="640" height="360" src="https://www.youtube.com/embed/eNs5g-c1Qno?list=RDeNs5g-c1Qno"frameborder="0" allowfullscreen></iframe> But the...
asked by 28.08.2017 / 15:30
1
answer

Pass parameters between screens [ionic2 / angular2]

Good morning everyone! I would like to know how I could be passing a parameter (id) between the screens, I tried the NavParams, but I could not do what I wanted. I would like to put the ID on the ion-item and when I clicked it it would send the...
asked by 28.08.2017 / 14:36