This repository was archived by the owner on Sep 8, 2020. It is now read-only.
Features/provide custom ace function #62
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
(edit: re-submit PR because my previous one was done on the wrong branch and was based on now out-dated code)
Hi there,
First of all, thank you for taking the time to write this Angular+Ace integration directive.
I'm currently using it with a popup window in which I inject my own Angular template and scope.
That allows me to have an app that opens popup windows and still has the ability to use 2-way bindings with them.
So here's how I'm doing it:
ace
function instead of the one inwindow.ace
.This is because my ui-ace.js file was loaded from the main app's window (not the popup).
uiAce
, I provide thepopupWindow.ace
function - which is theace
function from the popup'swindow
object.And it seems to work fine. :-)
So if you're interested, here's a pull request to add it to your arsenal.
Cheers,
David