(item)
| 340 | }; |
| 341 | |
| 342 | var validateSamePath = function(item) { |
| 343 | var selectedPath = $rootScope.selectedModalPath.join(''); |
| 344 | var selectedItemsPath = item && item.model.path.join(''); |
| 345 | return selectedItemsPath === selectedPath; |
| 346 | }; |
| 347 | |
| 348 | var getQueryParam = function(param) { |
| 349 | var found = $window.location.search.substr(1).split('&').filter(function(item) { |