[AngularJS] Re: Backloading an Angular js form

2016-10-17 Thread Hugo Arthur Amaral
tiveHTML = document.getElementsByName("IO:" > + array-cycling-through-fields )[0]; > if(alternativeHTML.tagName == 'SELECT'){ > alternativeHTML.previousSibling.childNodes[0].childNodes[0].nextElementSibling.innerHTML > > = newValue; > } > > > Cheers, &g

[AngularJS] Re: Backloading an Angular js form

2016-10-16 Thread Hugo Arthur Amaral
Hi, Peter. Which version of Angular are you using? Could you send your code so that we can take a look? On Saturday, October 15, 2016 at 10:01:19 PM UTC-3, Peter Cawdron wrote: > > Hi, > > I'm new to Angular. I've got an Angular js form that has rendered and > works properly (updates, etc). I h

[AngularJS] Re: Removing Hashbang from URL in AngularJs Route

2016-04-06 Thread Hugo Arthur Amaral
I did this once, but I don't remember. I think you need to set the *requireBase* attribute to false. Something like this: $locationProvider.html5Mode({ enabled: true, requireBase: false }); and maybe set something in the *index.html* file, but at the moment I'm not remembering. Take

[AngularJS] Re: Unable to update a specific element inside an array from the controller

2016-01-08 Thread Hugo Arthur Amaral
The problem happens because your change the array 'attributes' in your function *handleConfig*, so the first criteria doesn't have anymore the original array with the selectedAttribute, so it is reseting the combo from attributes. For example if I select config 'daemonumask', the attribute retu