[AngularJS] [Angular] Inject angular 2 router

2017-02-22 Thread Hoàng Nguyễn Huy
Hi guys. - How can i inject router with ReflectiveInjector.resolveAndCreate. because of my ErrorHandlingService depend on Router service. *Please

[AngularJS] Re: Angular 2 static file delivery

2017-02-22 Thread Jerry Laudat
I'm using SystemJs as the module-loader. I suppose there's a way to bundle the static files but I haven't learned how to do that yet. So for the moment I'm handling each static folder separately (a separate app.use() call for each one). Here's what I ended up with (server.js): var express = req

[AngularJS] Re: inventoryData returns undefined because $http.get is asynchronous, how do I refactor code?

2017-02-22 Thread methuselah90
Thanks this worked great. I really appreciate the time you have taken to help. On Tuesday, 21 February 2017 05:44:40 UTC, Sander Elias wrote: > > Hi, > > You should return it inside a promise, and then use it inside a .then at > the place you need it. (no need for $q. and using deffered's is usu

[AngularJS] Angular2: when url is opened from browser notification - target component stops working

2017-02-22 Thread John Smith
http://stackoverflow.com/questions/42395425/angular2-when-url-is-opened-from-browser-notification-target-component-stops Any ideas what the problem could be? -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe fro

[AngularJS] Re: How to debug Angular??

2017-02-22 Thread David Viscomi
Hi Roger, For debugging I use the browser, one helpful addition besides chrome developer tools is an extension like Angular Inspector. A tool to help find the scope for elements on a page. David On Sunday, February 19, 2017 at 10:56:26 AM UTC-5, Roger Xi wrote: > > I'm a programmer from C#. Jus

[AngularJS] angular.min.js.gzip version out of sync with bower packages

2017-02-22 Thread Janek L.B.
Bower packages for 1.2.x (haven't looked at other version), contain an angular.min.js.gzip file that doesn't match the version of the package/angular.{,min}.js files. This seems like a huge issue.. assuming people are actually using bower + gzip distributions.. but I can't find any other mention

[AngularJS] Angular2: when url is opened from browser notification - target component stops working

2017-02-22 Thread John Smith
I have a problem with Angular2. When url is opened from browser notification - target component stops working. More information (I have opened a question on StackOverflow): http://stackoverflow.com/questions/42395425/angular2-when-url-is-opened-from-browser-notification-target-component-stops

[AngularJS] Re: Component(s) structure for word search puzzle game

2017-02-22 Thread 'Matthias Tylkowski' via Angular and AngularJS discussion
Just a follow up. I created a component which initializes the grid. The attached image shows the grid without the fill letters. I would like to be able to select the letters via drag. How can I achieve that? Should each non-fill letter be a component which hold references to the other letters i

[AngularJS] Re: SyntaxError: missing ; before statement

2017-02-22 Thread Sander Elias
@Steven, @Hetal, I'm not sure wich version on AngualrJS you are using, but the .success and the .error methods of $http are deprecated for a long time already. When you switch over to .then, doe the error go away? Regards Sander -- You received this message because you are subscribed to the G

[AngularJS] Re: SyntaxError: missing ; before statement

2017-02-22 Thread Hetal Thakkar
i am also suffer the same problem and my code is like: $http({ method: 'JSONP', url: 'http://localhost:8089/projects/?viewType=thumbnails&count=50&contentType=Projects&page=1' // params : {callback : 'JSON_CALLBACK'} }). success(function(status) {

[AngularJS] Re: SyntaxError: missing ; before statement

2017-02-22 Thread Hetal Thakkar
i have also the same problem ,i was try everything .i didn't get the solution , please help me, this is my code for remove the CORS error: $http({ method: 'JSONP', url: 'http://localhost:8089/projects/?viewType=thumbnails&count=50&contentType=Projects&page=1' //

[AngularJS] Angular 2 static file delivery

2017-02-22 Thread Jerry Laudat
I'm a complete newbie to Angular and Node. In the console I can see a GET request for this URL: /node_modules/@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js Since I don't have a router/ handler for that URL, it results in a 404 Not Found error. How do I return Angu

[AngularJS] Re: Bootstrap Glyphicons not working in angularjs

2017-02-22 Thread percy
how can I Write a program that prints the numbers from 1 to 100 in a table. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buck”. For numbers which are multiples of both three and five print “BuckFizz” On Friday, February 10, 2017 at 5:50:49

[AngularJS] Re: ERROR in compiler_1.StaticSymbolCache is not a constructor

2017-02-22 Thread norricorp
So I possibly fixed it. I created a new project and used the package.json file values in the existing project's json file. Then I removed node_modules and dist folders, rerun npm install --save-dev @angular/cli@latest and npm install and now ng serve works. > -- You received this message beca

Re: [AngularJS] Alternative of *ngFor

2017-02-22 Thread chandaniel112 via Angular and AngularJS discussion
On Wed, 2/22/17, eddaburleson via Angular and AngularJS discussion wrote: Subject: Re: [AngularJS] Alternative of *ngFor To: angular@googlegroups.com Date: Wednesday, February 22, 2017, 1:40 AM On