randallb/angular-hammer — pull request #17 by felipesabino (2013-12-11 20:52:21+00:00)
Title: Default parameters as a Module#config option

Added default parameters as a Module#config option that is loaded for all instances and can be overrided by directive hmOptions param

This is useful when you have default params for the whole module, then they can be added in config time, instead of being added for each directive implementation, like the following

myApp.config(function(hmOptionsProvider) {
hmOptionsProvider.defaults.options = {
drag: false,
transform: false
}
});