Diego Cabrera
Member since Nov 11, 2016
- Profile: /members/13352-diego-cabrera.htm
- Comments: 3
Recent Blog Comments By Diego Cabrera
-
Creating A "Run Block" In AngularJS 2 Beta 8
Posted on Nov 11, 2016 at 2:19 PM
Hello ben. I can do it with a @Inject("AppSettings") https://run.plnkr.co/plunks/J0VuOM/ You can do the example here. Thanks any way Diego... read more »
-
Creating A "Run Block" In AngularJS 2 Beta 8
Posted on Nov 11, 2016 at 9:50 AM
@Diego, I forgot the "main.js" export function main(appSettings: AppSettings) { console.log("entro al main.js: AppSettings= "); console.log(appSettings); platformBrowserDynamic([ { provide: 'AppSettings', useValue: appSettings } ]). bootstrapModule(AppMo... read more »
-
Creating A "Run Block" In AngularJS 2 Beta 8
Posted on Nov 11, 2016 at 8:28 AM
Hello Ben. First of all..... awesome blog. It's very useful for me (newer in angular 2) I have a problem. I need create a json object with configuration (key-values for the angular app) in the index.html (in the future I would have a index.jsp). I think that , this example could help me, but i can'... read more »