Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
CoffeeScript JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
components/angular
.gitignore
README.md
bower.json
flameOn.coffee
package.js
server.coffee
smart.json

README.md

Deprecated

Heavily under development, use at your own risk.

Based on https://github.com/lvbreda/Meteor_angularjs version 1.0

Example

Quick example, should place under your model instead of controller.

app = angular.module 'flaming', ['flameOn']

app.controller 'listing', ['$scope', 'flameOn', ($scope, flameOn) ->
    flameOfListing = flameOn $scope, 'listing', $scope.id

    $scope.list = flameOfListing.collection.find {
        placeId: $scope.placeId
    }, {
        sort: {
            name: 1
        }
    }
]
Something went wrong with that request. Please try again.