[Windowing] UrlService

UrlService added which takes in a
mode (browse or edit), and also a
domainObject. Returns the url
path to that domainObject. WTD-16.
This commit is contained in:
Shivam Dave
2015-06-23 16:11:06 -07:00
parent 21462bf60d
commit 61d9545414
3 changed files with 78 additions and 24 deletions

View File

@@ -78,11 +78,16 @@
"key": "navigationService",
"implementation": "navigation/NavigationService.js"
},
{
"key": "urlService",
"implementation": "services/UrlService.js",
"depends": [ "$location" ]
},
{
"key": "creationService",
"implementation": "creation/CreationService.js",
"depends": [ "persistenceService", "$q", "$log" ]
}
}
],
"actions": [
{
@@ -96,7 +101,7 @@
"implementation": "windowing/NewTabAction.js",
"description": "Open this object in a new tab",
"category": ["view-control", "contextual"],
"depends": [ "$window", "$route", "$location" ],
"depends": [ "urlService", "$window", "$route", "$location" ],
"group": "windowing",
"glyph": "y"
},