angular-dojo
angular-dojo copied to clipboard
Bordercontainer not working correctly using angular-dojo
Hi,
I've been trying to get a working example using angular-dojo but cannot seem to make my BorderContainer and ContentPane's display correctly. I am quite new to Angular and Dojo so any help on what I am doing wrong would be greatful.
Here's my code:
<html data-ng-app="angular-dojo-test">
<head>
<link rel="stylesheet" type="text/css" href="vendor/dojo-release-1.9.1/dijit/themes/claro/claro.css" />
<script src="vendor/dojo-release-1.9.1/dojo/dojo.js"></script>
<script src="vendor/angular-1.1.5/angular.js"></script>
<script src="vendor/angular-dojo.js"></script>
<script>
function TestController($scope) { $scope.leftName = "Left Pane"; $scope.centerName = "Center Pane"; };
var module = angular.module("angular-dojo-test", ['angular-dojo']);
```Id: {{leftName}}
Id: {{centerName}}
```
When I use normal data-dojo-type and comma's in data-dojo-props, the code works as expected. Any ideas?
I will look into this.