Thank you Douglas. I tried it but I'm getting an error when I login.

I'm getting a 404 on http://localhost:3333/newlazyload/api/auth/login

Here is the screenshot of the error.
http://i.imgur.com/01WH7Mt.png

Btw, I changed the port from 3000 to 3333 since I have another project 
running on port 3000.



On Wednesday, June 11, 2014 8:18:08 AM UTC-5, Douglas Lira wrote:
>
> https://github.com/douglaslira/lazy-load-angularjs
>
>
> 2014-06-11 4:19 GMT-03:00 Neil Camara <[email protected] <javascript:>>:
>
>> Hi folks,
>>
>> I'm building a login form for an app. I'm looking for a simple example of 
>> login that uses service Factory. The screen will have a username, password 
>> and a login button. We already have an existing token service that I was 
>> told to use. It's a REST endpoint. It requires username and password then 
>> it gives a token on a successful login.
>>
>> Does someone have a simple plunkr that does this?
>>
>> Any help would be greatly appreciated.
>>
>> Thanks,
>>
>> Neil
>>  
>> -- 
>> 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 [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/angular.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Atenciosamente,
>
> Douglas Lira
> "No que diz respeito ao empenho, ao compromisso, ao esforço, à dedicação, 
> não existe meio termo. Ou você faz a coisa bem feita ou não faz." 
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to