Giter Site home page Giter Site logo

angular-builder's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

angular-builder's Issues

define has issues with functions with properties

So I noticed that when you try to store something in a define that is a function and that function has properties attached it doesn't work. An example of this is a $resource definition which I imagine would be a common use case.

Possible fixes: add a method to store raw values without the bind magic.

controllers

This library is focused around services but controllers have similar issues and could benefit from the dependsOn/inject syntax.

  • Consider adding a angular.$build.controller method.
  • Expose in this context should put stuff into $scope

custom constructor

I would like to add another method on the service builder to add in custom construction. service.constructor(function(){}); it would have the same this properties as a private or public method.

pre and post constructors

.cons is already a pre constructor I propose adding preConstructor that aliases cons and a postConstructor.

  • preConstructor - run code after injects. this is a nice place to add additional defines to the service
  • postConstructor - run code after all injects, defines, exposes. service can't be changed at this point but a good place to wire event or poke other services

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.