Exploring angularJS Library