Can Angular pass parameters to templates?
人生最曼妙的风景,竟是内心的淡定与从容!
Just implement the function on template
templateUrl: function($routeParams) { return 'tpl/home/' + $routeParams.id ; }
Isn’t the value of the template bound to the scope? I don’t know what kind of parameters you are talking about. It’s best to give the code
Just implement the function on template
Isn’t the value of the template bound to the scope? I don’t know what kind of parameters you are talking about. It’s best to give the code