Angular filter
sraLPad source
The sraLPad Filter will take any value, convert it to a string and prefix the
string with either the char passed in or a space according to the length passed in.
Dependencies:
Name | Type | Description |
---|---|---|
value | Object | The value to prefix the characters to. |
length | integer | The number of characters to prefix, default 0. |
char | String | The string to prefix, default to space. |