AngularJS-brackets icon indicating copy to clipboard operation
AngularJS-brackets copied to clipboard

Live editing angularjs views

Open eldrgeek opened this issue 10 years ago • 7 comments

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?

eldrgeek avatar Jan 22 '14 20:01 eldrgeek

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.

ProLoser avatar Mar 12 '14 09:03 ProLoser

I would love to have live editing support for angularjs partials.

nmabhinandan avatar Oct 31 '14 10:10 nmabhinandan

+1 for some way to make this happen

mandofever78 avatar Nov 11 '14 06:11 mandofever78

How exactly do you expect angular to know what view is loaded?

ProLoser avatar Nov 11 '14 06:11 ProLoser

just wishful thinking

mandofever78 avatar Nov 11 '14 08:11 mandofever78

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.

ProLoser avatar Nov 11 '14 08:11 ProLoser

Don't make it complicated. Do something like, refresh the whole site when a view (whichever it maybe) is changed.

nmabhinandan avatar Nov 11 '14 15:11 nmabhinandan