AngularJS: Do not load the created routes

0

I have the following problem, they do not load the routes:

My directory contains the following structure:

The HTML is as follows:

The routes have the following configuration:

I tried changing the routes by:

template: '/views/partials/usuarios.html'
template: '/partials/usuarios.html'

But it does not load, what do I lack?

    
asked by Ricky 23.03.2017 в 22:14
source

1 answer

0

Oh rays! I finally found the problem, it was so simple:

I used:

template: '/views/partials/usuarios.html'

It should have been:

templateUrl: '/views/partials/usuarios.html'

That's it.

    
answered by 23.03.2017 в 22:19