Questions tagged as 'angular'

2
answers

Running Angullar 2 on http-server

I have an application in Angular2 and it was generated / dist where it contains the HTML code, CSS and Javascript I executed the code using http-server and tomcat. My problem is that when I rotate my routes it stays like this - > link but t...
asked by 29.08.2017 / 15:44
1
answer

How to create multiple error paths in Angular 2

Hello, I'm working with angular 2 (v4 +), where my application has the following structure containing 2 modules that are loaded dynamically (via loadChildren ): Directory structure app |-foo | |- foo.module | |- ... (foo compone...
asked by 22.08.2017 / 14:27
1
answer

How to remove screen header on some routes

Good morning, on my angular project 4 I completed the adm screen and I wish the header did not appear in it, I know I could do this with ngIf but I'm lost > _ & gt ;, Can anyone give a light? The module.html app looks like this <app-navb...
asked by 22.08.2017 / 22:55
0
answers

How to integrate Bootstrap 4 in Ionic 2 or 3?

No app.module.ts import { BsDropdownModule } from 'ngx-bootstrap'; ... imports: [ BrowserModule, HttpModule, BsDropdownModule.forRoot(MyApp) ... ] I tried using this library but gave the following error:    Sass Error  ...
asked by 08.09.2017 / 23:40
1
answer

How to instantiate HttpClient in Angular typescript 4?

Based on this example for Http, I would like to know how to instantiate HttpClient: **constructor() { const browserXhr: BrowserXhr = new BrowserXhr(); const baseResponseOptions: ResponseOptions = new ResponseOptions(); const...
asked by 14.08.2017 / 23:17
1
answer

Select only 1 radio button with ionic

I'm trying to render some radio buttons using *ngFor and only I can select either the first or the last option, never the middle options. > I have the following array : [ { "title": "First question", "opti...
asked by 09.08.2017 / 19:09
1
answer

How to create an object and populate with data returned from Firebse?

Gist Regarding Question I have an event class, and a method that is called snapdbEvent (), but when I put the object in it and try to define the values of the variables in the object, the following error occurs: PrintfromDB     
asked by 03.08.2017 / 13:38
2
answers

Relative Path for Angular Font Files 4

After creating a standard Angular application with ng new aplicacao and inserted into the PrimeNG, Bootstrap, Fontawesome libraries the application normally runs through ng server . After running ng build and uploading the...
asked by 27.07.2017 / 23:28
1
answer

Working with select and options in angular 2

I have 2 select fields, I need q when I select a value, it automatically selects an array of options for the other Home Component eventAt:string='' @Output() selecionaEvento = new EventEmitter<String>() @Output() eventos:string...
asked by 24.07.2017 / 18:01
1
answer

Command removes non-functioning ionic

I'm having trouble with navCtrl.push . The flow is as follows: Onpages1.1,1.2e1.3IcangobackandforthasmanytimesasIwantbutwhenIclickthebackbuttonIneedtoreturnonpage1.TogotothenextpageIusetheeventclickofthebuttonlikethis:(click)="quickAcc...
asked by 05.07.2017 / 20:06