This repo is good at making standalone Apps, but pretty hopeless at packaging reusable directives. I think we need to start a new repo for reusables modelled along angular-ui/bootstrap lines. This would mean adopting conventions such as each directive in its own [angular] module, and probably dispensing with require.js.
So we keep Apps1 for apps, but start a new repo for directives and associated support - probably by forking angular-ui/bootstrap. Those guys can summon amazing demos in plunkr or jsFiddle with very little code.
Here are some candidate reusables
Directives
Factor out existing d3 directives.
A graph plotter
An <input type="tex" ngModel="{{mathExpr}}" > input directive based on MathQuill
The mgc directives currently in incoming - these have yet to find a place in Apps1, probably because they are naturally best published as directives.
Services
A TeX to abstract syntax tree parser service. (Probably can inherit this from MathQuill)
An adaptive function sampler service. It must take a mathematical expression and sample it intelligently over a given domain.
This repo is good at making standalone Apps, but pretty hopeless at packaging reusable directives. I think we need to start a new repo for reusables modelled along
angular-ui/bootstrap
lines. This would mean adopting conventions such as each directive in its own [angular] module, and probably dispensing withrequire.js
.So we keep Apps1 for apps, but start a new repo for directives and associated support - probably by forking
angular-ui/bootstrap
. Those guys can summon amazing demos in plunkr or jsFiddle with very little code.Here are some candidate reusables
Directives
Services