[AngularJS] Re: http.get request return master.html file instead of data from the database.

2015-03-21 Thread John Lim
Hi sander, this issue resolved by changing the order of the code from app.get('*',function(req, res){ res.sendFile('master.html', { root: path.join(__dirname, '/public/views/') }); }); routes(app, mongoose); to routes(app, mongoose); app.get('*',function(req, res){

[AngularJS] Re: angular and chrome.fileSystem

2015-03-21 Thread Sander Elias
Hi AlexL, Return the entries var, and assign it to a scope var. Something like: scope.entries = loadDirEntry(theEntry). Does that help a bit. Building a plunk is a bit moot for this, as it only works in chrome apps ;) Regards Sander ​ -- You received this message because you are subscribed

[AngularJS] ngRoute issue on android 2.3

2015-03-21 Thread zakeszako Zack
Hi everyone, I'm testing an basic AngularJs app on android 2.3. and i got this error Uncaught Error: [$injector:modukerr] Failed to instantiate Module MyApp due to: Error [$injector:nomod] Module MyApp is not available. i use as dependency ngRoute. Help please. on desktop this basic app work

Re: [AngularJS] Re: angular and chrome.fileSystem

2015-03-21 Thread Alexandre LESAGE
After some test, it works good : angular.module('DirectoryBrowser', []) .controller('DirectoryBrowserCtrl', ['$scope', '$http', function ($scope, $http) { $scope.openModalChooseDirectory = function() { chrome.fileSystem.chooseEntry({type: 'openDirectory'}, function(theEntry)

Re: [AngularJS] Re: Learning AngularJS: Why using nodeJS?

2015-03-21 Thread Paulo Coelho
Hello Anthony, Let me rephrase the question. I read this discussion in stackoverflow.com and I learn the following: Node can't run on any hosting providers, you can however deploy Nodejs projects in PAAS sites as Heroku and Linode Please take a look:

[AngularJS] Angular 2 with new Router

2015-03-21 Thread Martin Kuhn
I would be really interested when the new Router is useable with current Angular 2. Has anybody info about this?? -- You received this message because you are subscribed to the Google Groups AngularJS group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [AngularJS] Re: Learning AngularJS: Why using nodeJS?

2015-03-21 Thread Sander Elias
Hi Paulo, Well, There are a lot of hosting providers that can host nodeJS applications. However, they seldom allow that on shared(read cheap) hosting offers. If you have your own (virtual) computer hooked up to the net, you can deploy to that easily. You you need a hosted(virtual) computer,

Re: [AngularJS] Re: angular and chrome.fileSystem

2015-03-21 Thread Alexandre LESAGE
Hi Sander Elias, Sorry I have not thought about making plunker. I would have like to return entries of loadDirEntry(theEntry) but in openModalChooseDirectory $scope is undefined. How can I pass $scope into function ? Thank for your help. AlexL On Sat, Mar 21, 2015 at 8:21 AM Sander Elias

Re: [AngularJS] Re: Learning AngularJS: Why using nodeJS?

2015-03-21 Thread Paulo Coelho
Hello Sander, Thank you so much for your clarification. Yes it makes sense for me. All the best! Paulo Le Bunny On Fri, Mar 20, 2015 at 3:23 PM, Sander Elias sanderel...@gmail.com wrote: Hi Paulo, Well, actually, you don't need node at all. Not for your app at least. A lot of the tools you

[AngularJS] angular sometimes not initialize

2015-03-21 Thread Александр Штовба
Hi! I have some problems with AngularJS. You can see screenshot from my test app. Sometimes, after page reload i have that resault! Binding and other not working. Console is empty. A have not errors... p.s. sorry for my English

[AngularJS] Re: Protractor browser.debugger(); not pausing test

2015-03-21 Thread Chris Trees
Having the same issue. I did find this: https://github.com/angular/protractor/issues/1790 And it looks as it got juliemr attention so I'm hope it's a know issue ?? -- You received this message because you are subscribed to the Google Groups AngularJS group. To unsubscribe from this group and