Skip to content
This repository was archived by the owner on Apr 20, 2018. It is now read-only.
This repository was archived by the owner on Apr 20, 2018. It is now read-only.

Update examples to use controllerAs since $scope is considered bad practice now #131

Description

@MarkPieszak

just thought I'd throw the idea out there.
Maybe the examples could be updated to implement a more new best practice?

Also if you're injecting $scope you might as well just use $scope.$watch right?

Activity

  1. Roaders commented on Mar 17, 2016

    @Roaders
    Contributor

    Yes, this seems like an excellent idea. I'd love not having to inject $scope and still haven't figured out how to do it.

  2. samal-rasmussen commented on Jun 6, 2016

    @samal-rasmussen

    We're using rx.angular on a Angular 1.5 project that's being written from scratch and we're trying to not use $scope anywhere if we can help it, because this is "the angular way" now. Rx.angular is almost the only reason we're injecting $scope anywhere now.

  3. mickdelaney commented on Jun 8, 2016

    @mickdelaney

    Same for us angular 1.5x with $scope only due to RxJS

  4. Martin-Andersen commented on Jul 28, 2016

    @Martin-Andersen

    I am also looking for a way to leave &scope in the dust

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions