0.01
No commit activity in last 3 years
No release in over 3 years
Convert CoffeeScript classes to AngularJS modules Write less JavaScript. Write less CoffeeScript. Write less Angular.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

< 5, >= 3.0
< 5, >= 3.0
>= 0.2.7, ~> 0.2
< 5, >= 3.2
< 5, >= 3.0
>= 0.12.1, ~> 0.12
 Project Readme

NgClassify

This project rocks and uses MIT-LICENSE.

Usage

Add gem ng_classify to your Gemfile
Run bundle install
Create a file with extension .coffee.ng-classify
Done!

Configuration

You can also configure the naming convention of the components as well.

Create a file under config/initializers

Write

NgClassify.setup do |config|
  config.appName = 'app_name'
  config.prefix = 'App'
  config.controller = {format: 'upperCamelCase', suffix: 'Ctrl'}
  ...
end

Just follow the example posted at https://github.com/CaryLandholt/ng-classify#ngclassifycontent-options

Remember to flush the cache for the assets the new configuration can apply.