Re: [AngularJS] Angular 7 StaticInjectorError NullInjectorError: No provider for Router!

2019-03-27 Thread Peter Hsu
Thanks Sanders for your help I think there may have been some problem with my SDK's build scripts. I migrated the app to the new framework and my problem seem to have disappeared On Wed, Mar 27, 2019 at 8:23 AM Peter Hsu wrote: > Yes, I have removed the lockfile and I do need to support IE > >

[AngularJS] Help migrating Angular 4 app

2019-03-27 Thread nicola . farina64
Hi I am quite new to angular and I am trying to upgrade an app written in Angular 4 to 7. This app was written in javascript also. I have this problem: this app has two modules, a login module which contains a LoginComponent and it is responsible for the login ui and a classic appmodule which

[AngularJS] Angular 6 - Custom Component: inline style not woking. Why?

2019-03-27 Thread Alexis Rengifo
Angular CLI: 6.0.8 Node: 10.15.3 OS: linux x64 Angular: 6.1.10 @Component({ selector: '.successAlert', templateUrl: './success-alert.component.html', styles: ['.successAlert { color: red; }'] }) I was expecting, of course, to have the component text on red. But it doesn't work, just the

Re: [AngularJS] Angular 7 StaticInjectorError NullInjectorError: No provider for Router!

2019-03-27 Thread Peter Hsu
Yes, I have removed the lockfile and I do need to support IE On Tue, Mar 26, 2019 at 9:56 PM Sander Elias wrote: > Do you need to support IE? > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Angular and AngularJS discussion" group. > To

[AngularJS] How to get value from ionic storage

2019-03-27 Thread Komal Shah
Hi How to retrieve value from ionic storage. Below is the code snippet but it always returns undefined value, in second iteration it returns value. public getLocalData(key) { this.storage.get(`${API_STORAGE_KEY}-${key}`).then((val) => { console.log('getLocalData'+ val); return val }); } -- You

[AngularJS] Typeahed and fromEvent after 3 character

2019-03-27 Thread Dev C
Hello I would like to have type ahead ( free text field with binding) where in Api would hit after three character of input ( agular material not required ) and it would retuurm result. I know observable and fromEvent filter we can use, can anyone tell me any example developed. -- Sent from

[AngularJS] Re: Dynamic loading of component's template

2019-03-27 Thread Emil Stoyanov
Thanks! On Wednesday, March 27, 2019 at 11:36:07 AM UTC+2, Sander Elias wrote: > > Hi Emil, > > Not a stupid question. But no, that's not easily possible. > When you want something like this to work, you need to load the Angular > JIT compiler into the memory of your app. Then you can

[AngularJS] Re: Dynamic loading of component's template

2019-03-27 Thread Sander Elias
Hi Emil, Not a stupid question. But no, that's not easily possible. When you want something like this to work, you need to load the Angular JIT compiler into the memory of your app. Then you can dynamically load and compile templates, and add them into your view. Depending on what you need

[AngularJS] Dynamic loading of component's template

2019-03-27 Thread Emil Stoyanov
Hi, May be this is a stupid question... Is it possible to load the component's template at runtime from the backend? Something like this: @Component({ selector: 'app-home', templateUrl: http.get(URL) }) Thanks -- You received this message because you are subscribed to the Google Groups

[AngularJS] Chrome autofill is affecting the md-autocomplete in AngularJS

2019-03-27 Thread Suvarnni Kunhikrishnan
Hi, I have a "*md-autocomplete"* control which have a set of data. But when I tried to open its showing the *"Google Chrome Autofill"* dialogue along with that. How to disable the autofill. I tried with autocomplete="off" as well as autocomplete="new-password". But both are not working.