Commit 8c9d1a5a by dileep bhimineni Committed by Vishal Kadam

changes of dileep and darshan

parent 1541ec7f
/**
* Created by dbhimineni on 5/27/2015.
*/
angular.module('dgc.search').directive(
"myDirective", function() {
return {
restrict: 'EA',
template: '<a href="javascript: void(0);" button-toggle toggle="isCollapsed" class="show-more" ng-click="isCollapsed = !isCollapsed">..show more</a>',
link: function($scope, element, attrs){
$scope.isCollapsed = true;
console.log($scope.isCollapsed);
},
transclude: true,
scope: {}
}
});
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment