Added angularjs assignment