Here is the link to the 
code: http://plnkr.co/edit/feFmXdCFJEWaNJZV44oQ?p=preview

On Tuesday, 16 December 2014 21:09:35 UTC+1, CannotCode wrote:
>
> Hello everybody!
>
> I am currently working on a simple web application and decided to go with 
> AngularJS. 
> My problem is that when I put the Angular controller into a separate js 
> file, the app cannot find thse files and thus angular does not work.
> I know that my angular works as it is fine if I put a script into my jsp 
> file straight. 
>
> There is a detail that might be a reason: whenever I check the Network of 
> my code in the browser, the js files that are not found considered to 
> have a text/html type. Might that be a problem and if yes, how should I 
> solve it? Not sure if I should post any code. If needed, will be provided.
>
> Thank you in advance. 
>
>

-- 
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