ng-Style will be help to do this
<a ng-style="{ 'background-color' : color, 'background' : color}">
</a>
here color is $scope / $rootScope variable
<a ng-style="{ 'background-color' : color, 'background' : color}">
</a>
here color is $scope / $rootScope variable
Really awesome blog. Your blog is really useful for me. Thanks for sharing this informative blog. Keep update your blog
ReplyDeleteAngularjs Training In Hyderabad