Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with ng-repeat #13

Open
Sebinto opened this issue May 4, 2015 · 0 comments
Open

Issue with ng-repeat #13

Sebinto opened this issue May 4, 2015 · 0 comments

Comments

@Sebinto
Copy link

Sebinto commented May 4, 2015

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant