Angular.JS example in the js component