# angular-import-scope **Repository Path**: mirrors_rubenv/angular-import-scope ## Basic Information - **Project Name**: angular-import-scope - **Description**: Import a scope from another ui-view. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-18 - **Last Updated**: 2026-01-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # angular-import-scope > Import a scope from another ui-view. [](https://travis-ci.org/rubenv/angular-import-scope) Angular.JS structures your data in nested scopes. Which is great, except when page structure doesn’t work like that and you need the inner data on a much higher level (say in the navigation). With import-scope, you can import the scope of a lower-level ui-view somewhere higher up. **Note**: This depends upon the excellent [ui-router](https://github.com/angular-ui/ui-router).  ## Usage Add angular-import-scope to your project: ``` bower install --save angular-import-scope ``` Add it to your HTML file: ```html ``` Reference it as a dependency for your app module: ```js angular.module('myApp', ['rt.importscope']); ``` Link to a named ui-view somewhere to import the scope: ```html