1(function() { 2 3 'use strict'; 4 5 var app = angular.module("ControllersModule"); 6 7 app.controller("SeparadoresController", function($http, $rootScope) { 8 9 var self = this; 10 11 self.tabs = []; 12 13 $http.get($rootScope.apiRUL + "/homepage").then(function(response) { 14 response = response.data; 15 if ($rootScope.mode == "draft") { 16 self.tabs = response.data.tabsdraft; 17 } else { 18 self.tabs = response.data.tabs; 19 } 20 self.currentTab = self.tabs[0]; 21 }); 22 23 self.tabs2 = [ 24 { 25 label: "Hastas Públicas", 26 content: [ 27 { 28 text: "Alienação de 32 (trinta e dois) lotes de material lenhoso. Data e hora do ato público: 29 de junho, às 10h30", 29 link: "http://www2.icnf.pt/portal/florestas/gf/hastas/decorr/dcnf-norte/hp-03-dcnfn-daaf-2017" 30 }, 31 { 32 text: "Alienação de 5 (cinco) lotes de extração e alienação de cortiça na árvore. Data e hora do ato público: 19 de junho de 2017, às 10h30.", 33 link: "http://www2.icnf.pt/portal/florestas/gf/hastas/decorr/dcnf-alentejo/hp-03-dcnf-alt-2017" 34 } 35 ] 36 }, 37 { 38 label: "Concursos", 39 content: [ 40 41 ] 42 }, 43 { 44 label: "Financiamentos", 45 content: [ 46 47 ] 48 } 49 ]; 50 51 52 self.currentTab2 = self.tabs2[0]; 53 54 self.setTab = setTab; 55 self.setTab2 = setTab2; 56 57 function setTab(index) { 58 self.currentTab = self.tabs[index]; 59 } 60 61 function setTab2(index) { 62 self.currentTab2 = self.tabs2[index]; 63 } 64 65 }); 66 67})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.