I am trying to learn angularjs.
I have the following controller,
skillPopulator.controller('skillsetController', function(){
this.skillType = language; //value to be changed
});
language and database are jsons in custom.js within the wrapper where controller is present like
var language = {
name: 'Java, Javascript, HTML5, CSS3'
}
var database = {
name: 'MySQL, Oracle, PostGres'
}
I would like to change the value of skillType to database upon the event
$("#db-skill").hover();
1) If I do so, will the change get reflected on my {{skill.skillType.name}} without a refresh?
2) How would I do it?