Coder Social home page Coder Social logo

examples's Introduction

examples's People

Stargazers

volkan avatar Julien Verkest avatar Israel M avatar Arthur Alvim avatar Bruno Melo avatar Thanh Truong avatar Travis Nuttall avatar Mark Robson avatar Christopher J. Stehno avatar Pankaj Mane avatar sun avatar Linda avatar Byron Thanopoulos avatar Ernst Salzmann avatar Cameron avatar Gaurav avatar Yang Jing avatar  avatar Panayiotis Tzagkarakis avatar MB avatar Kevin Ernest Long avatar Yueping Qian avatar  avatar Jose Bueno avatar 谢远亮 avatar Hans Christian v. Stockhausen avatar Tsvetan Tsvetkov avatar D Morty k avatar Amit Erandole avatar  avatar Ruben Van Gasse avatar Ryun Shofner avatar Sönke Nommensen avatar Chris Witko avatar  avatar Brad Pillow avatar Kamil Skrzypiński avatar Yanin Elbi avatar Julien avatar Pier-Hugues Pellerin avatar Richard Hoffmann avatar Edward Tan avatar Zack Yang avatar Petr Jaša avatar Paul Vaillant avatar Eric Williams avatar Rafi Dudekula avatar  avatar Eak Netpanya avatar ichim-david avatar Sean O avatar John Gosset avatar Luis Cameroon avatar Tim Spann avatar  avatar Krister Kari avatar Nick Van Weerdenburg avatar

Watchers

Nick Van Weerdenburg avatar Kevin Ernest Long avatar James Cloos avatar Krister Kari avatar Troy Mott avatar  avatar  avatar  avatar  avatar

examples's Issues

Chapter 3 - Transactional directive bug

I'm pretty sure this is bug, though I guess it could be intentional behavior: After you click save for the first time, if you start incrementing again, both values start getting incremented. I think this is because during the $save(), the $parent's scope gets set to the reference of the transactional's scope instead of a copy of it. The fix for me is:

model.assign(scope.$parent, angular.copy(model(scope)));

Also, I believe it's a bad practice to define methods that begin with $, as AngularJS has reserved methods starting with $.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.