In AngularJS , under “Learn”, Instructions part 2 , page 2/11 :
" 2. Likewise, any new properties attached to $scope will become available to use in the view. In the controller, attach promo to $scope, and set its value to your own string. "
When I clicked “run”, it gives the error message :
Did you add $scope.promo to the controller?
Where exactly do I type ? If someone can show me the exact syntax and how it should be written , appreciate it …