Skip to content

setPrefix in controller doesn't append a dot #360

@jastend

Description

@jastend

Hi,

I'm not sure whether this is intended, but when setting a prefix in the controller instead of as a config definition, you have to manually set a dot at the end of the prefix.

Examples:

This will result in the prefix your-prefix.

.config(function (localStorageServiceProvider) {
  localStorageServiceProvider
	.setPrefix('your-prefix')
})´

This will result in the prefix your-prefix

.controller('example-controller', function (localStorageService) {
  localStorageService.setPrefix('your-prefix');
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions