figuring out angularjs