Hi, Fernando.

I think you probably forget to 'register' your controller in your
application.

Let's do a couple of changes in your code.

Take a look at the html file:
https://gist.github.com/leandroh/105d397e758856ea728c
And the js file: https://gist.github.com/leandroh/a1ea63d6480fb81bd2b2

Remember, if you want to use a controller, service etc. You should
'register' all of them in your app module.

More info: https://docs.angularjs.org/guide/controller

-- 
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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to