add scope for angularjs