Skip to content

How to access commands from controller? #66

@LRonHubs

Description

@LRonHubs

I understand how to add track, etc using the buttons provided.

For my use case I need to remove these buttons and instead do everything programatically (i.e. without user input).

I'm new to Angular JS. Basically I just want to use this library to do simple things like add a specific track and play it. That's really it.

I have this part:

angular.module('memoryGameApp', ['angularSoundManager']);

Now how do I reference this library inside the scope of my project? What I mean is, do I refer to the angular sound manager object as "angularSoundManager", "soundManager", "ngSoundManager", or "angularPlayer"? I see all of these used in different contexts in the code.

Just trying to wrap my head around angularJS. thanks.

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