Our site uses cookies. Learn more about their purpose and change of settings in a browser If you are using the site, you give you consent to use cookies, according to current browser settings. Got it

Angular egghead 21 - scope vs $scope

  • Language JavaScript
In this application existed two directives on the same view, but in here we encountered the problem. When complement one input automatically completes the second input.

Exercise 21 : scope vs $scope

Summary

In this application there are two directives working on the same scope. The final working application should display two inputs with different values. You can achieve this by editing scope.js.

Goals

  • don't make any change in the templates of directives and index.html view.
  • you should be able to insert two different values for the inputs and display them by clicking the corresponding button.

Before you start, please refer to

Setup

To install dependencies

npm install

bower install

To start application in live reload mode

grunt serve

Jshint

To run jshint:

grunt jshint:default

Run tests

To run e2e tests in development mode:

grunt test:e2e

To run jshint, tests and coverage:

npm test

Good luck!

Start this test

Labnoratory Academy Ltd (Realskill) is a Data Controller. Personal data will be processed to facilitate IT skill test. More
... Przewidywane kategorie odbiorców danych: pracownicy Bulldogjob oraz Labnoratory Academy Ltd. Podmiotowi danych przysługuje prawo do żądania dostępu do danych dotyczących swojej osoby, ich sprostowania, usunięcia, ograniczenia przetwarzania, do przenoszenia danych oraz wniesienia skargi do organu nadzorczego.
Go to the top and begin