krasimir / kuker

Kick-ass browser extension to debug your apps
https://chrome.google.com/webstore/detail/glgnienmpgmfpkigngkmieconbnkmlcn
MIT License
659 stars 26 forks source link

What version of Angular do you support? #5

Closed frankandrobot closed 6 years ago

frankandrobot commented 6 years ago

I'm using Angular 1.5 and it can't seem to find the root app selector. More details to follow if this supports Angular 1.5.

This is what my HTML looks like:

    <app-layout>
      <standard-page>
        <ui-view></ui-view>
      </standard-page>
    </app-layout>

where appLayout is defined as

 <div id="app" class={{$ctrl.cssClass()}}>
  <ng-transclude></ng-transclude>
  <main-cover></main-cover>
  <nav-panel location={location}/>
  <user-panel location={location}/>
</div>

And oh yea, we're using UI router.

Update: this is probably the most relevant detail, we're using https://github.com/philippd/angular-deferred-bootstrap, which does away with ng-app.

Update: oh, the root selector is a TAG, not an ID. When I used app-layout, it's now complaining that I need to run angular in development (which i am, so this is probably another issue)

krasimir commented 6 years ago

Unfortunately v.1+ is not supported. Kuker's Angular support is completely driven by Augury extension and as far as I know it only supports v.2. We briefly discussed that in Twitter. I'm ready to help with the integration but I have almost zero experience with Angular 1.

It boils down to writing an emitter which is really just dispatching window.postMessage. More about that here.