p.location-badge. exported from angular2/view defined in angular2/src/core/compiler/view_container_ref.js (line 11) :markdown .l-main-section h2 Members .l-sub-section h3 constructor pre.prettyprint code. constructor(viewManager: avmModule.AppViewManager, location: eiModule.ElementRef, defaultProtoView: viewModule.AppProtoView) :markdown .l-sub-section h3 clear pre.prettyprint code. clear() :markdown .l-sub-section h3 create pre.prettyprint code. create(atIndex:number=-1, protoView:viewModule.AppProtoView = null, injector:Injector = null) :markdown .l-sub-section h3 detach pre.prettyprint code. detach(atIndex:number=-1) :markdown The method can be used together with insert to implement a view move, i.e. moving the dom nodes while the directives in the view stay intact. .l-sub-section h3 get pre.prettyprint code. get(index: number) :markdown .l-sub-section h3 indexOf pre.prettyprint code. indexOf(view:viewModule.AppView) :markdown .l-sub-section h3 insert pre.prettyprint code. insert(view:viewModule.AppView, atIndex:number=-1) :markdown .l-sub-section h3 length :markdown .l-sub-section h3 remove pre.prettyprint code. remove(atIndex:number=-1) :markdown