Page 1 of 1

Accessing the list (Bootstrap/AngularJS Video)

Posted: Tue Mar 10, 2015 8:48 pm
by ApperyAmateur

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


Accessing the list (Bootstrap/AngularJS Video)

Posted: Wed Mar 11, 2015 1:14 pm
by Alena Prykhodko

Hi,

Please specify what exact video you are referring to.


Accessing the list (Bootstrap/AngularJS Video)

Posted: Wed Mar 11, 2015 1:20 pm
by ApperyAmateur

Accessing the list (Bootstrap/AngularJS Video)

Posted: Sat Mar 14, 2015 2:47 pm
by Illya Stepanov

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...