Pre Yoeman
[YouAndWeb_TwoToc] / client / search / search.js
diff --git a/client/search/search.js b/client/search/search.js
new file mode 100755 (executable)
index 0000000..025c4d5
--- /dev/null
@@ -0,0 +1,20 @@
+'use strict';
+
+angular.module('dashboardApp')
+  .config(function($stateProvider) {
+    $stateProvider
+    .state('search', {
+        url: '/search',
+        templateUrl: 'app/search/search.html',
+        controller: 'SearchCtrl',
+        params: {
+          lng: null,
+          lat: null
+        }
+      })
+      /*.state('showOrga', {
+        url: '/:id',
+        templateUrl: 'app/organizza/showOrga/showOrg.html',
+        controller: 'ShowOrgaCtrl'
+      });*/
+  });