Skip to content

Commit

Permalink
remove stale comment in view-segment.js
Browse files Browse the repository at this point in the history
  • Loading branch information
artch committed Aug 23, 2013
1 parent 9907ccc commit ce34169
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions src/view-segment.js
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
'use strict';

/**
* The directive app:view is more powerful replacement of built-in ng:view. It allows views to be nested, where each
* following view in the chain corresponds to the next route segment (see $routeSegment service).
*
* Sample:
* <div>
* <h4>Section</h4>
* <div app:view>Nothing selected</div>
* </div>
*
* Initial contents of an element with app:view will display if corresponding route segment doesn't exist.
*
* View resolving are depends on route segment params:
* - `template` define contents of the view
* - `controller` is attached to view contents when compiled and linked
* appViewSegment directive
* It is based on ngView directive code:
* https://github.com/angular/angular.js/blob/master/src/ngRoute/directive/ngView.js
*/

(function(angular) {
Expand Down Expand Up @@ -124,4 +113,4 @@
}
}]);

})(angular);
})(angular);

0 comments on commit ce34169

Please sign in to comment.