How to use images from sprites


Hi Sir,

        I am new to ionic and want to use images from sprite.
        I have tried a number methods for same but not successful.
        I want to do it using directive.

        Please provide me a solution.


Fork a codpen from here, add what you have so far, and we’ll see if we can help you.


Thanks seanhill for reply.
BTW problem has been sorted out.