Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API refactoring #95

Open
andreareginato opened this issue Jun 20, 2014 · 0 comments
Open

API refactoring #95

andreareginato opened this issue Jun 20, 2014 · 0 comments

Comments

@andreareginato
Copy link
Contributor

The directive API is not clear. We need to redefine them with a full refactoring.

  • Define the new API
  • Refactoring Services
  • Refactoring Directive

One important thing we can also do is to move all the logic into the device object. Right now everything is attached to the scope.

  • device
  • device.type
  • device.functions
  • device.status

We also need to make a directive for the most used parts like the widget form and the spinner. We could use them in different templates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant