add example for augularjs