Created
May 6, 2014 03:48
-
-
Save robwormald/bc87cb187e8f96c4e5f0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Controller { | |
constructor(){ | |
} | |
sayHello(){ | |
console.log('say Hello') | |
} | |
} | |
class ViewController extends Controller{ | |
constructor(){ | |
} | |
getName(){ | |
return 'test' | |
} | |
} | |
var testapp = angular.module('app',[]); | |
testapp.controller('ViewController',ViewController); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment