Example of using Observer and Directive
Clone this repo into new project folder (e.g., my-proj
).
git clone https://github.com/2union/Angular2DirectiveNStateDemo my-proj
cd my-proj
Install the npm packages described in the package.json
and verify that it works:
npm install
npm start