Refatoring $services

Improving public interface

Signed-off-by: thiagofelix <felixthi@gmail.com>
including coverage report

Update testacular config to generate coverage report over the js files

Signed-off-by: thiagofelix <felixthi@gmail.com>
maked lib was append newline at end of html

Refactored the call to marked library to trim the end of result, because marked was append a newline after the generated html.

Signed-off-by: thiagofelix <felixthi@gmail.com>
make tests independent from markdown parser library

the tests were expecting html elements with id because it was how showdown library used to generate them. Now the app is using marked library to convert markdown into html, so does not make sense expect the elements came from the parser with id.

This create a new rule, every markdown parser candidate library should return html blocks without id.

Signed-off-by: thiagofelix <felixthi@gmail.com>
stop initialize controller with a example markdown

Previous the ProjectCtrl was requesting a markdown from examples's folder just to demonstration purpose on the beta version.

It's is not desired to the controller continue doing such thing.

Signed-off-by: thiagofelix <felixthi@gmail.com>
ignoring npm-debug.log

ignoring npm-debug.log

Signed-off-by: thiagofelix <felixthi@gmail.com>