ApperyAmateur
Posts: 0
Joined: Wed May 01, 2013 4:38 pm

Accessing the list (Bootstrap/AngularJS Video)

I've just watched the video on responsive design using Bootstrap and AngularJS.

At 6:35, the line 'emp in list' is used. Where does emp come from?

I've just read a written tutorial about pizza when a similar thing happens and you use 'item in list', again where does the name 'item' come from?

Thanks

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Accessing the list (Bootstrap/AngularJS Video)

Hi,

Please specify what exact video you are referring to.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Accessing the list (Bootstrap/AngularJS Video)

Hi -

precodeng-repeat emp in list
/code/pre

'list' - is defined in scope;
'emp' - is a model variable item which is defined by ng-repeat;

For more information we highly recommending to read official documentation: https://docs.angularjs.org/api/ng/dir...

Return to “Issues”