Feature/how to guide for legend

No need for $http since it is not used.