updated base code to current standards
removed jquery dependency
changed angular ngroute to angular ui router