add requirejs and ui-router.