You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My js file :
var model = {
competences: [
{ idGauge: "idPremier", valueGauge: 25, titleGauge:"PHP"},
{ idGauge: "idDeuxieme", valueGauge: 75, titleGauge:"C#"}
]
};
My HTML code : (replace "" by "<" and "#" by ">")
*div ng-repeat="competence in data.competences"#
*just-gage id={{competence.idGauge}} min=0 max=100 value={{competence.valueGauge}} title="{{competence.titleGauge}}" class="gauge"#/just-gage#
*/div#
But when I do this, it works : div ng-repeat="competence in data.competences"#
*just-gage id={{competence.idGauge}} min=0 max=100 value=1 title="{{competence.titleGauge}}" class="gauge"#/just-gage#
*/div#
But it's not what I expected... Can you help me?
The text was updated successfully, but these errors were encountered:
Hi,
I've got some trouble with ng-repeat :
When I set a value from the model, I've got this message from chrome :
Error: [$rootScope:inprog] http://errors.angularjs.org/1.2.5/$rootScope/inprog?p0=%24apply
My js file :
var model = {
competences: [
{ idGauge: "idPremier", valueGauge: 25, titleGauge:"PHP"},
{ idGauge: "idDeuxieme", valueGauge: 75, titleGauge:"C#"}
]
};
My HTML code : (replace "" by "<" and "#" by ">")
*div ng-repeat="competence in data.competences"#
*just-gage id={{competence.idGauge}} min=0 max=100 value={{competence.valueGauge}} title="{{competence.titleGauge}}" class="gauge"#/just-gage#
*/div#
But when I do this, it works :
div ng-repeat="competence in data.competences"#
*just-gage id={{competence.idGauge}} min=0 max=100 value=1 title="{{competence.titleGauge}}" class="gauge"#/just-gage#
*/div#
But it's not what I expected... Can you help me?
The text was updated successfully, but these errors were encountered: