added yeoman angularjs template
added key calculation
added superkey calculation
optimized key calculation