Add stub angular controller for managing enterprise relationships

This commit is contained in:
Rohan Mitchell
2014-05-15 12:27:58 +10:00
parent aa53d82386
commit f7de504d89
2 changed files with 12 additions and 3 deletions

View File

@@ -0,0 +1,2 @@
Admin.controller "AdminEnterpriseRelationshipsCtrl", ($scope) ->
$scope.hello = "Hello, angular."

View File

@@ -3,6 +3,13 @@
= render 'admin/shared/enterprises_sub_menu'
%table#enterprise-relationships
%tr
%td Hello, world.
%div{"ng-app" => "ofn.admin", "ng-controller" => "AdminEnterpriseRelationshipsCtrl"}
%table#enterprise-relationships
%thead
%tr
%th Parent
%th Child
%tbody
%tr
%td {{ hello }}
%td {{ hello }}