fixes #9 and #10; Now using a provider; Now able to use a filter

fixes #9 and #10; Now using a provider; Now able to use a filter and to
use content for the directive.