Added support for layers on paths to match existing support for markers

The current release of angular leaflet directive has support for showing and hiding markers using layer groups. I've implemented a change to the paths code to support this in the same way.
I've included a unit test and example in the commit which demonstrates the functionality.