AngularJS-brackets
AngularJS-brackets copied to clipboard
Live editing angularjs views
Is there a way to live edit angular views? If I'm in the top level file and live edit, the view file is not live-editable. I can inline the file contents, in which case I can do what I want. Is there a better work-around?
Oh now I get what you're talking about. I've got no real solutions off the top of my head at this time. It would be a massive undertaking to integrate with the introspection engine. I was thinking about maybe we could have and that would instruct brackets to the relevant partial, but honestly try using an ng-repeat or ng-if or ng-switch and watch everything go bonkers since the file on the local machine no longer matches what's in the browser.
I would love to have live editing support for angularjs partials.
+1 for some way to make this happen
How exactly do you expect angular to know what view is loaded?
just wishful thinking
Seriously, how would YOU even know what file you're working on? Or which one you want to work on? Like it would help if I had an idea of what you were expecting to happen.
Don't make it complicated. Do something like, refresh the whole site when a view (whichever it maybe) is changed.