Questions tagged as 'angular'

2
answers

How to work with Angular ngIF with screen resolution?

See below how the Web page is; Nowwatchthescreenwithresolutionbelow992px ThishappensbecauseofthecsscolumnI'dliketotakethiscolumnoutwhenitreacheslessthan992pxwithangledngIF,isitpossible?Ifso,howcanIdoit?Isthiscodehere?<divclass="container"...
asked by 08.06.2018 / 17:02
1
answer

Working with datepicker in ng-bootstrap

I'm working with this component example: link I need to add three features. The first I believe to have to do with the class, as in this example , if the day is out of the minimum date or maximum allowed, the day would be "off", with a...
asked by 08.06.2018 / 01:01
1
answer

Share data between components Angular 6

I have a Navbar component that is in the root of the project, and I have on the side of this component another one that is a part. Ex: navbar componenet1[ component2 component3 component4[ component5 component6...
asked by 08.06.2018 / 21:58
1
answer

Calling filtering method

I have this method, when choosing a country, search the states. filtrarEstado(pais : Pais) : void{ this.loading = true; this.estadoService.getEstadosPorPais(pais).subscribe( (data :any) => { this.estados = data.list...
asked by 22.05.2018 / 16:02
1
answer

Redirect to page after API consumption

I have two components in my application made with Angular 5+. A component is a form, where I populate parameters that are passed in a GET to my REST API. This form (component1) retrieves the JSON from the API, however I need to retrieve the in...
asked by 16.05.2018 / 22:40
1
answer

"WARNING in Duplicated path in loadChildren detected during rebuild." Duplicate paths

What can be wrong to cause in warn ? WARNING in Duplicated path in loadChildren detected during a rebuild. We will take the latest version detected and override it to save rebuild time. You should perform a full build to validate that y...
asked by 21.06.2018 / 15:05
1
answer

Dependency injection, Angular

I am learning Angular and caught a little in dependency injections. On the website it says that the decorator @Injectable () must have a service provider declared. Something like this: @Injectable ({   providedIn: 'root', }) But when I put th...
asked by 09.05.2018 / 20:25
1
answer

Doubts with non-angular post method

Hello, I'm trying to do a POST method that returns me a 'User' object. In my BackEnd I have the following code: //Add um Usuarios public Usuarios Post([FromBody]Usuarios usuario) { return _usuariosServices.Adicionar(usuario); }...
asked by 05.05.2018 / 23:32
1
answer

How do I keep my Angular application running permanently?

To keep the NodeJs server running permanently on the computer is the following procedure; $ npm install forever $ forever start server.js However, how do I make my Angular application run permanently on my computer? If I restart my compu...
asked by 13.04.2018 / 12:09
2
answers

Angular2-text-mask

How to apply a phone mask where it suits a landline and cell phone using Angular2-text-mask ? I have read the documentation and I have seen what it's supposed to do with a function, but since I'm using formGroup , I do not know ho...
asked by 13.04.2018 / 03:45