angular svg

by Bram Gadeyne

HTML

<div ng-controller="TestController as testCtrl">
	{{test}}
</div>

JavaScript

(function(angular){
	var testapp=angular.module('testapp',[]);
	
	function TestController($scope){
		var testCtrl=this;
		
		$scope.test='testje';
		
		return testCtrl;
	};
	
	testapp.controller('TestController',['$scope',TestController]);
})(angular)