added angular-routes, modified amd version to work with require,
implemented angular router