Questions tagged as 'angular'

1
answer

Upgrading from IONIC 1 to 3: How to log in to JSON?

I'm migrating from Ionic 1 to 3, and how many changes. I created my login API, with a token: HereIputmyauthorizationcodeforaccessingtheAPI.AndheretheresultinJSON: ion-contentpaddingid="page8" style="background-color:#050505;"> <...
asked by 15.06.2018 / 14:05
2
answers

How to work with PrimeNG Editor?

Look at the link PrimeNG Publisher Someone would know how to disable or remove the image upload button     
asked by 15.03.2018 / 12:54
1
answer

How to call read HTTP responses

I would like to bring some error messages in JSON to this class below and I do not know how to do this, my connection to the Database is OK and returning the right JSON, I would like to read the Response that I am sending back , but I do not kno...
asked by 14.01.2018 / 03:06
1
answer

Angular 5 route problems

I have my normal and simple route app.routing.ts import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; import { LoginComponent } from '../login/login.component'; import { HomeComponent } from '../ho...
asked by 14.01.2018 / 17:16
1
answer

Authenticate Angular with Steam

I'm trying to authenticate my Angular app with Steam, but this is generating this error in the log: Failed to load http://steamcommunity.com/openid/.well-known/openid-configuration: No 'Access-Control-Allow-Origin' header is present on the req...
asked by 25.01.2018 / 18:01
1
answer

The element is generated with one attribute and its CSS with another attribute

I created the toolbar component with the following decorator: @Component({ selector: 'app-toolbar', templateUrl: './toolbar.component.html', styleUrls: ['./toolbar.component.scss'] }) Notice that the component is using th...
asked by 25.01.2018 / 20:47
2
answers

Problem with angled routes 5x

I created a new module in my application with my routes and made the necessary inports in my app.modules, but in the browser console there was an error which I could not solve and I also did not find any response for the 5x angle. The error t...
asked by 30.11.2017 / 01:10
2
answers

Angular 2: My component does not work in index

I'd like to interpret my component within my index.html, about.html, contact.html, among other pages. I created the component using the Angular cli. My structure is as follows: The code inside my app.module.ts file is: import { A...
asked by 21.11.2017 / 16:41
1
answer

Receiving data from an observable

I have a problem using an observable. While I'm inside the NgOinit method, when fetching the data, I get the array correctly and hedge in the class variable. However, when I try to access the data outside the subscribe, I get undefined in respon...
asked by 20.11.2017 / 12:37
1
answer

How to access the value of the first .map ()?

I'm making an introduction to redux with angle 4, and when I was doing an @ Effect () I came across the following question: @Effect() private newUser = this.actions$ .ofType(UserActions.NEW_USER) .map((action: UserActions.NewUser) =>...
asked by 19.10.2017 / 19:02