Registry of controller Angularjs

Asked

Viewed 33 times

0

I have this app and this html:

https://jsfiddle.net/2r4w554g/

And I also have this controller and this html:

https://jsfiddle.net/oes9vzu8/1/

When I put it to run, it points out an error that the controller was not found. However, if I take the controller out of the view and put it in the index, it works. That is, it is not locating the controller file. Does anyone have any idea how to solve?

  • 1

    Put the code referring to your question directly into the question. Do not use any external site for this, because if the site goes off the air or things like that, we will not have access to your code.

  • 1

    Outside of putting the fiddle code in the question, I think you should try to explain your problem better. I couldn’t understand.

  • Have you tried to do the load of the archive of controller direct at index instead of doing the load for tag within the html specific to the controller? Probably this will solve the problem, since to make a "lazyload", which is what it seems you are trying to do, you would need other plugins,

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.