ui-router 설명
https://uxicode.tistory.com/entry/uirouter-%EB%8C%80%EA%B0%95-%EC%A0%95%EB%A6%AC
ui-router 대강 정리
ui-router ng-route를 보강한 라이브러리 주소: https://ui-router.github.io/ng1/docs/0.3.1/index.html#/api/ui.router ( 해당 주소로 가보면 튜토리얼도 잘 나와 있다. 하지만 아직도 헷갈림 ) .config()로..
uxicode.tistory.com
참고사이트 : https://ui-router.github.io/ng1/
UI-Router for AngularJS (1.x)
The defacto standard for routing in AngularJS
ui-router.github.io
샘플코드를 보면 좀더 이해가 쉬울 것 같다.
https://ui-router.github.io/ng1/tutorial/helloworld
UI-Router for AngularJS (1.x) - Hello World!
Getting started with UI-Router for AngularJS (1.x)
ui-router.github.io
파일명 : angualr-ui-router.js
-> js 아래 -> ui-router 아래 -> angular-ui-router.js 파일 있음
설치 :
npm install --save @uirouter/angularjs
설치를 하게 되면, 아래 경로에 생기게 된다.
todo\node_modules\@uirouter\angularjs\release
angular.module('ui.router.state')
.value('$stateParams', {})
.provider('$state', $StateProvider);
아직 해석은 안되지만,
envService, envServiceProvider 와 얼추 비슷한 느낌이다.
'IT > JavaScript와 Framework' 카테고리의 다른 글
| jQuery .html() 메서드 - 선택한 요소 안의 내용을 가져오거나, 다른 내용으로 바꾸는 메서드 (0) | 2022.05.18 |
|---|---|
| JQuery 특정 요소를 기준으로 자식요소를 찾을 때 사용하는 children (0) | 2022.05.18 |
| AngularJS 의 envService, envServiceProvider (0) | 2022.05.18 |
| javascript Blob 이해하기 (0) | 2022.05.18 |
| Promises - then, catch, all, race, finally (0) | 2022.05.18 |
댓글