Stack Overflow is a community of 4.7 million programmers, just like you, helping each other.

Join them; it only takes a minute:

Sign up
Join the Stack Overflow community to:
  1. Ask programming questions
  2. Answer and help your peers
  3. Get recognized for your expertise

I need to insert this code into directive:

<link rel="Stylesheet" type="text/css" href="CSSHandler.ashx?ModelIdentifier=bikester" />

<style type="text/css">
    table
    {
        font-family: Arial;
        font-size: 12px;
    }
</style>

<script type="text/javascript">
    var m_sDirection = 'rtl';
    var theForm;
</script>

also I need another script to recognize this script, when this directive is load.

one last thing is, in the <link rel="Stylesheet" type="text/css" href="CSSHandler.ashx?ModelIdentifier=bikester" />

I have attribute call "bikester" that I get from the server so its dynamic

any idea to how do I inject dynamic content.

I'm not shore that I need a directive, maybe the controller can do this.

I think that directive will be the best best approach.

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.