Hi,

I moved your code to a plunker and made a working example out of it.
(plunker has the benefit of having 'files')

http://plnkr.co/edit/k2Nu8YaYkO5o1pTq67Og?p=preview

I think your main mistake was renaming the revolve variable vars to $vars 
when injecting to the controller. 

Regards
Sander

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