src/collapse/collapse.js
Function controller
has 83 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var controller = this.controller = function ($scope, $element, $attrs) {
var self = this;
// Attributes options
self.$options = angular.copy(defaults);
- Create a ticketCreate a ticket
Function postLink
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
link: function postLink (scope, element, attrs, controllers) {
// var ngModelCtrl = controllers[0];
var bsCollapseCtrl = controllers[1];
- Create a ticketCreate a ticket