Skip to content

Instantly share code, notes, and snippets.

@robwormald
Created May 6, 2014 03:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robwormald/bc87cb187e8f96c4e5f0 to your computer and use it in GitHub Desktop.
Save robwormald/bc87cb187e8f96c4e5f0 to your computer and use it in GitHub Desktop.
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